//
//  YWGraffitiView.h
//  YWPhotoEditMaster
//
//  Created by jun peng on 2023/7/28.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface YWGraffitiView : UIView

//设置初始图片颜色
- (void)setFirstImage:(UIImage *)image;

//重置图层
-(void)removeAllHandle;

//撤销图层
-(void)previousHandle;

//获取当前图层
-(UIImage *)getCurrentLayer;

//设置线的宽度
- (void)setLineWith:(CGFloat)lineWidth;

//设置线的颜色
- (void)setLineColor:(UIColor *)color;

@end

NS_ASSUME_NONNULL_END
